https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /usr/local/CyberCP/plogical/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/CyberCP/plogical/__pycache__/getSystemInformation.cpython-310.pyc
o

��g�@sTddlZddlZddlZddlZddlZGdd�d�Zdd�Zedkr(e�dSdS)�Nc@s�eZdZej��ZdZedd��Zedd��Zedd��Z	edd	��Z
ed
d��Zedd
��Zedd��Z
edd��Zedd��Zedd��Zedd��Zedd��ZdS)�SystemInformation�cCst��S)N)�os�
getloadavg�rr�3/usr/local/CyberCP/plogical/getSystemInformation.py�cpuLoadszSystemInformation.cpuLoadcCsFt��}|�d�}d}d}|D]}|dkr|}|S|dkr d}q|S)N�-rr��with)�platform�split)�OSName�data�checker�finalOSName�itemsrrr�	getOSNames
��zSystemInformation.getOSNamecC�tj�d�S)Nz%I:%M�r�now�strftimerrrr�getCurrentSystemTime#�z&SystemInformation.getCurrentSystemTimecCr)Nz%arrrrr�currentWeekDay'rz SystemInformation.currentWeekDaycCr)Nz%Brrrrr�currentMonth+rzSystemInformation.currentMonthcCr)Nz%Yrrrrr�currentYear/rzSystemInformation.currentYearcCr)Nz%drrrrr�
currentDay3rzSystemInformation.currentDaycCsvt��}t��}t��}t��}t��}t��}t��}t|�}|d}|d}|d}	||||||||||	d�
}
|
S)Nrr
�)
�weekDayNameInString�currentMonthName�currentDayInDecimalrr�loadAVG�currentTime�one�two�three)	rrrrrrrr�list)r�loadAverager#rr r!rr$r%r&rrrr�
getAllInfo7s 
�zSystemInformation.getAllInfocCsjz'ddl}tt�|��d��tt�|����tt�|�d�d��d�}|WSdddd�}|YS�Nrr�/�)�ramUsage�cpuUsage�	diskUsage��psutil�int�math�floor�virtual_memory�cpu_percent�
disk_usage�r1�
SystemInforrr�getSystemInformationLs@�z&SystemInformation.getSystemInformationcCshz'ddl}tt�|��d��tt�|����tt�|�d�d��d�}W|Sdddd�}Y|Sr*r0r8rrr�
cpuRamDiskXs���zSystemInformation.cpuRamDiskcCsNddl}|�d�jd}|�d�jd}|�d�jd}|�d�j}|||fS)Nrr+i)r1r7�total�used�free�percent)r1�
total_disk�	used_disk�	free_disk�percent_usedrrr�GetRemainingDiskUsageInMBsfs
z,SystemInformation.GetRemainingDiskUsageInMBscCstdd���t_dS)Nz/tmp/lshttpd/.rtreport�r)�open�	readlinesr�	olsReportrrrr�populateOLSReportqsz#SystemInformation.populateOLSReportN)�__name__�
__module__�__qualname__�datetimerrH�staticmethodrrrrrrrr)r:r;rDrIrrrrrs6












rcCs<tjdd�}|jddd�|��}|jdkrt��dSdS)NzCyberPanel Installer)�description�functionzSpecific a function to call!)�helprI)�argparse�ArgumentParser�add_argument�
parse_argsrPrrI)�parser�argsrrr�mainws
�rX�__main__)rrrMr3rRrrXrJrrrr�<module>sp
�

https://t.me/RX1948 - 2025